﻿<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<div class="ForumGroupList">
	<%HtmlBlock method = "processList"; %>
		<%Conditional on="Depth==0"; %>
		<%Conditional on="IsFirst==False"; %>
			</table>
			</div></div></div></div></div></div></div></div></div></div>
			</td></tr></table>
			<div class="ForumThreadPostDivider"></div>
		<%EndConditional; %>
			<table width="100%" cellpadding="0" cellspacing="0"><tr><td>
			<div class="<%= Macro(LayersClass)%>"><div class="<%= Macro(LayersClass)%>a"><div class="<%= Macro(LayersClass)%>b"><div class="<%= Macro(LayersClass)%>c"><div class="<%= Macro(LayersClass)%>d"><div class="<%= Macro(LayersClass)%>e"><div class="<%= Macro(LayersClass)%>f"><div class="<%= Macro(LayersClass)%>g"><div class="<%= Macro(LayersClass)%>h">		
			<div class="<%= Macro(LayersClass)%>-c">
			<table width="97%">
            <tr class="ForumGroupArea"><td colspan="2" width="55%"><div class="GroupTitle"><asp:HyperLink runat="server" ID="title" NavigateUrl="$grpNavLink$" /></div></td>
            <td width="10%" class="ForumCountHeader"><asp:Label runat="server" ID="_tpcLbl">Topics</asp:Label></td>
            <td width="10%" class="ForumCountHeader"><asp:Label runat="server" ID="_postsLbl">Posts</asp:Label></td>
            <td width="25%"><asp:Label runat="server" ID="_lstpLbl">Last Post</asp:Label></td>
            </tr>
		<%EndConditional; %>
		<%Conditional on="Depth==1"; %>
			<%Conditional on = "IsLast==False"; %>
			<tr class="ForumGroupForumArea">
			<%EndConditional; %>
			<%Conditional on = "IsLast==True"; %>
			<tr class="ForumGroupForumArea LastForumRow">
			<%EndConditional; %>
				<td><asp:Image runat="server" ID="primaryPicture_name"  ImageUrl="/$mediaCacheName$/$imageRes$/$primaryPicture.name$" /></td>
				<td>
					<div class="Title"><asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/></div>
					<div class="Summary"><asp:Label runat="server" ID="summary" /></div>
				</td>
				<td>
					<div class="TopicCount"><asp:Label runat="server" ID="counts_totalL1" /></div>
				</td>
				<td>
					<div class="PostCount"><asp:Label runat="server" ID="counts_totalL1L2" /></div>
				</td>
				<td>
					<asp:Label runat="server" ID="counts_lastChildUpdatedBy" 
					Text="by $counts.lastChildUpdatedBy.userName$<br /%gt;on $counts.lastChildUpdated$" />
				</td>
			</tr>
		<%EndConditional; %>
    <%EndHtmlBlock; %>
	</table>
	</div></div></div></div></div></div></div></div></div></div>
	</td></tr></table>
</div>